<?php

class StaticContentPeer extends BaseStaticContentPeer
{
	public static function getStaticPage($aliasname='') {
		$obj = DbFinder::from('StaticContent')
						->with('I18n')
						->where('IsPublic',1)
						->where('AliasName',$aliasname)
						->find(1);
		return $obj[0];
	}
}
